<title>设计</title> 
<load file="__PUBLIC__/head.html" /> 
<css file="__PUBLIC__/css/show.css" />
<jquery />  
<js file="__PUBLIC__/js/show.js" />
</div> 
</div> 

<!--栏目显示-->
	<div id="body">
		<div class="big">
			<div class="lanmu">
			<if value="isset($cate['parent'])">
			<div class="lan_l">
				<ul class="lan">	
					  <span>  
					  	<a href="__APP__/category/cate_show/cateid/{$cate.parent.cateid}">{$cate.parent.cname}</a>
					<p>  	</span><br/>
					<list from="$cate[0]" name="$v">
					   <a href="__APP__/category/cate_show/cateid/{$v.cateid}"<?php if($v['cateid']==$_GET['cateid']){echo "class='on'";} ?> >{$v.cname}</a>
					
					</list>
				</p>
			</ul>
					
			</div>

				<else>	
				<div class="lan_l"><!--栏目左侧-->
					<ul>
						<list from="$cate[0]" name="$v">
					<li>
						<h1><a href="__APP__/category/cate_show/cateid/{$v.cateid}">{$v.cname}</a></h1>
									
						<p>
							<list from="$v['child']" name="$name" >
								<a href="__APP__/category/cate_show/cateid/{$name.cateid}"> {$name.cname}</a>
							</list>
						</p>
					</li>
				</list>
					</ul>
				</div>
				<!--栏目右侧-->
				<div class="lan_l" style="margin-left:10px"><!--栏目左侧-->
					<ul>
						<list from="$cate[1]" name="$v">
					<li>
						<h1><a href="__APP__/category/cate_show/cateid/{$v.cateid}">{$v.cname}</a></h1>
									
						<p>
							<list from="$v['child']" name="$name" >
								<a href="__APP__/category/cate_show/cateid/{$name.cateid}">{$name.cname}</a>
							</list>
						</p>
					</li>
				</list>						
					</ul> 
				</div>
			</if>
				<div class="xuqiu">
					<p class="tub"></p><!--小图标-->
						<div class="fbxq"><!--需求发布-->
							<p class="p1">需要设计服务？</p>
						<a href="__APP__/xuqiu/add/cateid/<?php echo $_GET['cateid']?>">	<p class="fabu"></p></a> 
							<p class="p2">
								<span>擅长设计?</span>
								<a href="#">立即开店马上赚钱</a>
							</p>
						</div>
						<p class="chi"></p><!--齿轮下边框-->
					</div>
					<div class="img">


					</div>
			</div>
		<div id="lianjie">
			<ul>
				<li class="l1">发布需求</li>
				<li class="l2">找服务商</li>
			</ul>
			<div class="xiangxi">
				<p class="jiantou"></p>
				<!--小箭头-->
				<div class="text"><!--文字-->
				立即将您的需求发布到中国最大的服务交易平台，获得满意作品后再付款！<span class="jia"></span>	
				</div>
			</div><!--对话框-->
			<div class="fuwus"><!--服务商-->
				<p class="jiantou"></p>
				<!--小箭头-->
				<div class="text"><!--文字-->
				六百万服务商真诚为您解决需求，一对一服务，直到您满意后再付款！
				<span class="jia"></span>	
				</div>

				</div>
			</div>
	<div id="add"><!--添加需求块-->	
		<p class="jiantou"></p><!--图标-->
		<div id="cate">	<!--栏目列表-->
		<ul class="pcate"><!--父级栏目-->
				   <li><a href="javascript:void(0)" cid=1>LOGo/VI设计</a></li>
				   <li><a href="javascript:void(0)" cid=1>网页设计</a></li>
				   <li><a href="javascript:void(0)" cid=1>宣传品设计</a></li>
				   <li><a href="javascript:void(0)" cid=1>包装设计</a></li>
				   <li><a href="javascript:void(0)" cid=1>动漫设计</a></li>
				</ul>
				<p></p> 
			<ul class="ccate"> <!--子栏目-->
				<li></li> 
				</ul>
			</div>
		<b>一句话描述你的需求</b>
		<div class="title">	 
			<span></span>
			<input type="text" value="一句话描述你的需求" name="title" />

		</div>
		<p class="error1">应为2~30个字</p>
		<b>将需求说的详细些</b>
		<div class="ed">
		<editor style="2" name="con" height="200" width="500"  /><!--百度编辑器--></div> 
		<div><!--上传栏-->
			<span class="sp1"></span><!--链接图标-->
			<a href="#">添加附件</a><!--之后放插件-->
			<span class="sp2"></span><!--向下图标-->
			<span>最多可添加五个附件，每个大小不超过10MB。</span>
			<a href="#">无法正常上传?</a>
		</div>
		<p><b>联系方式</b><span>真实的联系方式有助于客服及时与您沟通</span></p>
		<div id="shouji"><!--手机号-->
			<span class="phone"></span>
			<input type="text" value="输入手机号码" name="phone" />
		</div>
		<!-- <p class="error2">应为2~30个字</p> -->
	<div id="xieyi">
			<input type="checkbox" class="chek" /><span>我已阅读并接受</span>《
			<a href="#">猪八戒网任务发布协议(试行)</a>》	
			</div><!--协议-->
		 	<input type="submit" class="sub" value="" />
		 </div>
		<div class="c"></div>	
	<div id="fuwu_menu"><!--服务导航-->
		<li><b></b>
			<a href="javascript:void(0)">
			<span class="sp1">平面设计需求</span></a></li>
		<li><b></b>
			<a href="javascript:void(0)">
			<span class="sp2">平面设计服务商</span>
			</a></li>
		<li><b></b>
			<a href="javascript:void(0)">
			<span class="sp3">设计服务</span>
			</a>
		</li>
	
	</div>
<div class="bode"></div><!--颜色边框-->
	 
<div id="orde"><!--排序-->

	<a href="__CONTROL__/cate_show/cateid/{$xuqiu.cid}/by/time"  />剩余时间</a>
	<a href="__CONTROL__/cate_show/cateid/{$xuqiu.cid}/by/count"  />投标数</a>
	<a href="__CONTROL__/cate_show/cateid/{$xuqiu.cid}/by/price"  />价格</a>

	<div class="qujian"><!--价格区间-->
		￥<input type="text" name="min" class="jiage" />&nbsp;至
		<input type="text"  name="max"	class="jiage"/>
		<input type="button" class="ok"/>
	</div> 
		<div class="search"><!--关键字搜索-->
			<input type="text" name="sea" value="输入关键字" class="key"/>
			<input type="button" class="but" title="搜索" >
			</div>
			<div class="more">更多筛选</div>
</div>

<div id="foot">
	<table class="t1" border="0" cellpadding="0" cellspacing="0">
		<style type="text/css">
		td{
			background: red;
			border: solid 2px red;
			}</style>

		<img src="__PUBLIC__/images/201209181517.jpg" />
	
		<if value="empty($xuqiu[0]) ">
		<tr><td style="b">
			<img src="__PUBLIC__/images/error.jpg" style="margin-left:200px; margin-top:-15px;" />
			</td>
		</tr>
			<else>
		<tr class="tr1">
			<th class="t1">金额</th>
			<th class="t2">标题</th>
			<th class="t3">投标</th>
			<th class="t4">参与方式</th>
			<th class="t5">到期时间</th>
			<th class="t6"></th>
		
		
	</tr>
		<?php foreach ($xuqiu as $v) {?>
		   <if value="is_array($v)">
			<tr class="tr2" style="background:red">
			<td><span><?php echo $v['price'];?>元</span></td>
				<td><a href="__APP__/xuqiu/xuqiu_show/xid/<?php echo $v['xid']?>"><?php echo $v['title'];?></a></td>
				<td>35</td>
				<td><?php echo $v['style'];?></td>
				<td><?php echo $v['time'];?></td>
				<td class="i">
					<a href="__APP__/xuqiu/add/cateid/<?php echo $v['cateid'];?>" /></a>
				</td>
			
			</tr>
		</if>
			<?php }?>
		</if>
	</table>
</div>
</div>